package com.kingsoft.dc.khaos.extender.meta.impl;

import com.alibaba.fastjson.JSON;
import com.kingsoft.dc.khaos.extender.meta.model.ds.Connect;
import com.kingsoft.dc.khaos.extender.meta.model.ds.HiveConnect;
import com.kingsoft.dc.khaos.extender.meta.model.ds.MppConnect;

/**
 * Created by jing on 19/6/25.
 */
public class HiveDmMetaImpl extends DmMetaImpl {

    @Override
    public Connect decryptDatasourceConnectSecret(String config) {
        HiveConnect connect = JSON.parseObject(config, HiveConnect.class);
        return connect;
    }

}
